#!/bin/bash

flutter pub run beacon \
  --input beacon/gt_message_channel_api.dart \
  --dart_out lib/gt_message_channel_api.dart \
  --swift_out ios/Classes/GTFlutterMessageChannelApi.swift \
  --kotlin_out android/src/main/kotlin/com/gateio/flutter/lib_core/GTFlutterMessageChannelApi.kt \
  --kotlin_package "com.gateio.flutter.lib_core"


flutter pub run beacon \
  --input beacon/gt_app_config_api.dart \
  --dart_out lib/gt_app_config_api.dart \
  --swift_out ios/Classes/GTAPPConfigHostApi.swift \
  --kotlin_out android/src/main/kotlin/com/gateio/flutter/lib_core/config/GTAPPConfigHostApi.kt \
  --kotlin_package "com.gateio.flutter.lib_core.config"

flutter pub run beacon \
  --input beacon/gt_logger_api.dart \
  --dart_out lib/logger/gt_logger_host_api.dart \
  --swift_out ios/Classes/logger/GTLoggerHostApi.swift \
  --kotlin_out android/src/main/kotlin/com/gateio/flutter/lib_core/logger/GTLoggerHostApi.kt \
  --kotlin_package "com.gateio.flutter.lib_core.logger"